package com.party.service;

import com.party.common.base.ApiResult;
import com.party.common.entity.MyPage;
import com.party.entity.PbDevice;
import com.baomidou.mybatisplus.extension.service.IService;
import com.party.entity.dto.DistributeDto1;
import com.party.entity.dto.QueryDeviceDto;

/**
 * <p>
 * 设备管理 服务类
 * </p>
 *
 * @author ccl
 * @since 2024-10-25
 */
public interface PbDeviceService extends IService<PbDevice> {

    boolean add(PbDevice pbDevice);

    boolean edit(PbDevice pbDevice);

    boolean delete(Long id);

    MyPage<PbDevice> queryPage(QueryDeviceDto dto);

    PbDevice detail(Long id);

    boolean distribute(DistributeDto1 dto);
}
